﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WaterStreet.Core.Domain
{
    /// <summary>
    /// 주문 정보
    /// </summary>
    public class Order
    {
        public virtual string ID { get; set; }

        public virtual List<ProductOrder> ProductList { get; set; }

        public virtual Customer BuyerInfo { get; set; }
    }

    public class DeliveryOrder : Order
    {
        public virtual Address AddrInfo { get; set; }
    }

    public class ProductOrder
    {
        public virtual Product product { get; set; }
        public virtual string Desc { get; set; }
        public virtual DateTime OrderDate { get; set; }
    }
}
